projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5da1748
)
Allow empty structs to represent empty Maps.
author
Ewan Mellor
<ewan@xensource.com>
Sat, 10 Mar 2007 14:16:52 +0000
(14:16 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Sat, 10 Mar 2007 14:16:52 +0000
(14:16 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/libxen/src/xen_common.c
patch
|
blob
|
history
diff --git
a/tools/libxen/src/xen_common.c
b/tools/libxen/src/xen_common.c
index 5d72cab177c4898feff88a2d065b9d02eeff024e..b7774c8a27bbbd83a4878dff0ce0c56168507458 100644
(file)
--- a/
tools/libxen/src/xen_common.c
+++ b/
tools/libxen/src/xen_common.c
@@
-666,8
+666,7
@@
static void parse_into(xen_session *s, xmlNode *value_node,
{
if (!is_container_node(value_node, "value") ||
value_node->children->type != XML_ELEMENT_NODE ||
- 0 != strcmp((char *)value_node->children->name, "struct") ||
- value_node->children->children == NULL)
+ 0 != strcmp((char *)value_node->children->name, "struct"))
{
server_error(s,
"Expected Map from the server, but didn't get it");